package com.ed100.sass.patter.composite;

public class MarketJoin extends Market {

	public MarketJoin(String name) {
		this.name = name;
	}

	/**
	 * 新增
	 */
	public void add(Market m) {

	}

	/**
	 * 删除
	 */
	public void remove(Market m) {

	}

	/**
	 * 支付
	 */
	public void payByCard() {
		System.out.println(name + "消费,积分已累加入该会员卡");
	}

}
